package cn.jgy.dynamic.thread.pool.sdk.registry;


import cn.jgy.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
* @Author: 蒋光耀
*@Version: 1.0
*@description: 注册中心抽象接口
* @Date:  2024-05-18 12:17
*/
public interface IRegistry {

    //对列表进行上报
    void reportThreadPoolList(List<ThreadPoolConfigEntity> threadPoolConfigEntities);

    //对单个进行上报
    void  reportThreadPoolOne(ThreadPoolConfigEntity threadPoolConfigEntity);
}
